package managers;
import dataProviders.UsersDataProvider;
import entities.Pracownik;

public class AccountManager 
{
	public static Object[] getListOfAllAccounts()
	{
		return UsersDataProvider.getListOfAllUsers().toArray();
	}
	public static void delAccount(String login)
	{
		UsersDataProvider.delUser(login);
	}
	public static void modifyAccount(Pracownik p)
	{
		UsersDataProvider.modifyAccount(p);
	}
	public static void addAccount(Pracownik p)
	{
		UsersDataProvider.addAccount(p);
	}
	
}
